/*
 * Copyright(c) 2018-? the original author[Wien(luweien@aliyun.com)] or authors.
 *
 */
package org.doll.it.nora.domain;

import org.doll.it.base.domain.DollDO;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 每一次的提交信息
 * 
 * @author Wien(luweien@aliyun.com)
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Document
public class CommitDO extends DollDO {

	private static final long serialVersionUID = -2389734075945613057L;

	/**
	 * 源对象Id
	 */
	private Long originId;

	/**
	 * 父ID
	 */
	private Long parentId;

	/**
	 * tree的Id
	 */
	private Long treeId;

	/**
	 * 描述
	 */
	private String description;

}
